﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;
using System.Data.SqlClient;
namespace DAO
{
    public partial class CTNCC_DAO
    {
        public bool ThemCTNCC(CTNCC ctncc_dto)
        {
            DataProvider dp = new DataProvider();
            SqlParameter[] Parameter = new SqlParameter[2];

            Parameter[0] = new SqlParameter("@MaNCC", ctncc_dto.MaNCC);
            Parameter[1] = new SqlParameter("@MaNVL", ctncc_dto.MaNVL);
            return dp.ExecutenonQuery("sp_CTNCC", Parameter);
        }
    }
}
